package com.example.ucsur;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class PickFieldActivity extends Activity {
	
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_entry1);
        
        Button locationButton = (Button) findViewById(R.id.locationbutton);
        Button databaseButton = (Button) findViewById(R.id.databasebutton);
        
		databaseButton.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				//Get the data
				Intent intent = new Intent(getBaseContext(), SearchActivity.class);
				startActivity(intent);
			}}
		);
    }

}
